// navi

function view_moduleMain(){
	document.getElementsByClassName("focusOn")[0].setAttribute("style", "display:none;");
	document.getElementsByClassName("focusOn")[0].setAttribute("class", " ");
	document.getElementById("user_main").setAttribute("style","display:block;");
	document.getElementById("user_main").setAttribute("class","focusOn");
}

function view_moduleReg(){
	document.getElementsByClassName("focusOn")[0].setAttribute("style", "display:none;");
	document.getElementsByClassName("focusOn")[0].setAttribute("class", " ");
	document.getElementById("user_reg").setAttribute("style","display:block;");
	document.getElementById("user_reg").setAttribute("class","focusOn");
}

function view_moduleLogin(){
	document.getElementsByClassName("focusOn")[0].setAttribute("style", "display:none;");
	document.getElementsByClassName("focusOn")[0].setAttribute("class", " ");
	document.getElementById("user_login").setAttribute("style","display:block;");
	document.getElementById("user_login").setAttribute("class","focusOn");
}

// leancloud
var id = "4mh77VlY9Bvd8mYNHYwxJykB-gzGzoHsz";
var key = "myyaTg5fXgrzHSeEQXw8bCb7";
var rest = "https://4mh77vly.lc-cn-n1-shared.com"

AV.init({
	appId: id,
	appKey: key,
	serverURL: rest
});
